package kdweibo4j;

import java.io.Serializable;

import kdweibo4j.org.json.JSONException;
import kdweibo4j.org.json.JSONObject;

import com.kdweibo.utils.Utils;


public class Picture implements Serializable{
	public String thumbnail_pic;
	public String original_pic;
	public String bmiddle_pic;
	
	public Picture(JSONObject json) throws WeiboException{
		try{
			thumbnail_pic = json.getString("thumbnail_pic");
			original_pic = json.getString("original_pic");
			bmiddle_pic = json.getString("bmiddle_pic");
			
		}catch (JSONException je) {
			throw new WeiboException(je.getMessage() + ":" + json.toString(),je);
		}
	}
	public Picture(){
		
	}
	
}
